home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / PInterfaces / QD3DString.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.8 KB  |  70 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DString.p
  3.  
  4.      Contains:    Q3CString methods
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.5.4
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT QD3DString;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __QD3DSTRING__}
  27. {$SETC __QD3DSTRING__ := 1}
  28.  
  29. {$I+}
  30. {$SETC QD3DStringIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __QD3D__}
  34. {$I QD3D.p}
  35. {$ENDC}
  36.  
  37.  
  38. {$PUSH}
  39. {$ALIGN POWER}
  40. {$LibExport+}
  41.  
  42. {*****************************************************************************
  43.  **                                                                             **
  44.  **                                String Routines                                 **
  45.  **                                                                             **
  46.  ****************************************************************************}
  47. FUNCTION Q3String_GetType(stringObj: TQ3StringObject): TQ3ObjectType; C;
  48.  
  49. {*****************************************************************************
  50.  **                                                                             **
  51.  **                        C String Routines                                     **
  52.  **                                                                             **
  53.  ****************************************************************************}
  54. FUNCTION Q3CString_New(str: ConstCStringPtr): TQ3StringObject; C;
  55. FUNCTION Q3CString_GetLength(stringObj: TQ3StringObject; VAR length: UInt32): TQ3Status; C;
  56. FUNCTION Q3CString_SetString(stringObj: TQ3StringObject; str: ConstCStringPtr): TQ3Status; C;
  57. FUNCTION Q3CString_GetString(stringObj: TQ3StringObject; VAR str: CStringPtr): TQ3Status; C;
  58. FUNCTION Q3CString_EmptyData(VAR str: CStringPtr): TQ3Status; C;
  59.  
  60. {$ALIGN RESET}
  61. {$POP}
  62.  
  63. {$SETC UsingIncludes := QD3DStringIncludes}
  64.  
  65. {$ENDC} {__QD3DSTRING__}
  66.  
  67. {$IFC NOT UsingIncludes}
  68.  END.
  69. {$ENDC}
  70.